package com.dearbinge.data.pojo.commodity;

import com.dearbinge.data.pojo.BaseDO;
import io.swagger.annotations.ApiModelProperty;

/**
 * 商品评论图片DO
 *
 * @author wes
 * @date 2019/3/20
 */
public class CommodityCommentPicDO extends BaseDO {

    @ApiModelProperty("商品评论图片id")
    private Integer commodityCommentPicId;

    @ApiModelProperty("商品id")
    private Integer commodityId;

    @ApiModelProperty("商品评论id")
    private Integer commodityCommentId;

    @ApiModelProperty("图片地址")
    private String picUrl;

    @ApiModelProperty("图片位置（1：评论 2：追评）")
    private Integer picPlace;

    @ApiModelProperty("买家id")
    private Integer customerId;

    public Integer getCommodityCommentPicId() {
        return commodityCommentPicId;
    }

    public void setCommodityCommentPicId(Integer commodityCommentPicId) {
        this.commodityCommentPicId = commodityCommentPicId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getCommodityCommentId() {
        return commodityCommentId;
    }

    public void setCommodityCommentId(Integer commodityCommentId) {
        this.commodityCommentId = commodityCommentId;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl == null ? null : picUrl.trim();
    }

    public Integer getPicPlace() {
        return picPlace;
    }

    public void setPicPlace(Integer picPlace) {
        this.picPlace = picPlace;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    @Override
    public String toString() {
        return "CommodityCommentPicDO{" +
                "commodityCommentPicId=" + commodityCommentPicId +
                ", commodityId=" + commodityId +
                ", commodityCommentId=" + commodityCommentId +
                ", picUrl='" + picUrl + '\'' +
                ", picPlace=" + picPlace +
                ", customerId=" + customerId +
                '}';
    }
}